package impl_v1;

import model.AuctionInformation;

public class AuctionInformationImpl implements AuctionInformation {

	private static final long serialVersionUID = -7717850281286986201L;
	private final int auctionID;
	private final int key;

	public AuctionInformationImpl(int auctionID, int key) {
		super();
		this.auctionID = auctionID;
		this.key = key;
	}

	@Override
	public int getAuctionID() {
		return this.auctionID;
	}

	@Override
	public int getKey() {
		return this.key;
	}

	@Override
	public String toString() {
		return "AuctionInformationImpl[auctionID=" + auctionID + ", key=" + key + "]";
	}

}
